import React from 'react'

// 房间列表
export async function apiGetHotelRooms(params) {
  return await React.$post('/management/hotelHomeStatus/standRoomList', params);
}

// 宠物档案基本信息 分页 列表
export async function apiGetPetArchivesPage(params) {
  return await React.$post('/management/petArchives/page',params)
}

// 宠物档案基本信息 新增
export async function apiPostPetArchivesAdd(params) {
  return await React.$post('/management/petArchives/add',params)
}

// 酒店创建订单
export async function apiPostHotelOrderInfo(params) {
  return await React.$postJson('/management/hotelOrderInfo',params)
}

// 酒店订单支付详情
export async function apiPostHotelOrderDetail(params) {
  return await React.$post('/management/hotelOrderInfo/hotelOrderDetail',params)
}

// 酒店订单取消
export async function apiPostHotelOrderCancel(params) {
  return await React.$post('/management/hotelOrderInfo/hotelOrderCancel',params)
}

// 酒店订单详情直接退款
export async function apiPostHotelOrderDirectRefund(params) {
  return await React.$postJson('/management/hotelSalesReturn/directRefund',params)
}

// 酒店订单详情信息
export async function apiGetHotelOrderDetail(params) {
  return await React.$get('/management/hotelOrderDetail/getHotelOrderDetail',params)
}

// 宠物品种列表
export async function apiSelectPetSpecies(params) {
  return await React.$post('/app/petArchives/selectPetSpecies', params);
}
